{template header}
<a href="?c=admin&a=GroupStatistic&gid={$gid}" target="_self"><i class="icon-eye-open"></i> 已加入群</a> &nbsp;&nbsp;
<a href="?c=admin&a=GroupStatisticCheck&gid={$gid}" target="_self"><i class="icon-eye-open"></i> 待审核</a> &nbsp;&nbsp;
<a href="?c=admin&a=GroupStatisticRunList&gid={$gid}" target="_self"><i class="icon-eye-open"></i> 群跑步记录列表</a> &nbsp;&nbsp;
<a href="?c=admin&a=GroupStatisticRecord&gid={$gid}" target="_self"><i class="icon-eye-open"></i> 群记录</a> &nbsp;&nbsp;
<a href="?c=admin&a=GroupStatisticMemberRun&gid={$gid}" target="_self"><i class="icon-eye-open"></i> 群成员跑步统计</a> &nbsp;&nbsp;
<div class="bs-docs-example">
    <table class="table table-striped">
        <thead>
            <tr>
            	<th>头像</th>
            	<th>昵称</th>
                <th>状态</th>
                <th>操作时间</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            {if !$list}  
                <tr>
                    <td>暂无记录</td>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
            {else}

            {loop $list $k $v}
            <tr>
                <td><image src="{$v['header']}" width="30" height="30" /></td>
                <td>{$v['nickname']}</td>     
                <td>
                    {if $v['status'] == 1}用户申请加入群组
                    {elseif $v['status'] == 2}用户申请被拒绝
                    {elseif $v['status'] == 3}用户退出群组
                    {elseif $v['status'] == 4}群组管理向用户发出邀请
                    {elseif $v['status'] == 5}群组邀请被拒绝
                    {elseif $v['status'] == 6}用户踢出群组
                    {elseif $v['status'] == 7}用户与群组无关联{/if}
                    {if !$v['isShow']}已隐藏{/if}
                </td>    
                <td>{eval echo date('Y-m-d H:i:s', $v['addtime']);}</td>
                <td>
                    <a href="?c=admin&a=GroupStatisticCheck&gid={$gid}&uid={$v['uid']}&id={$v['id']}&dotype=0">拒绝</a>
                    <a href="?c=admin&a=GroupStatisticCheck&gid={$gid}&uid={$v['uid']}&id={$v['id']}&dotype=1">同意</a>
                    <a href="?c=admin&a=GroupStatisticCheck&gid={$gid}&uid={$v['uid']}&id={$v['id']}&dotype=2">删除</a>
                </td>
            </tr>
            {/loop}

            {/if}
        </tbody>
    </table>
</div>
<div class="pagination">
    <ul>
        {$pageStr}
    </ul>
</div>
{template footer}